import request from '@/utils/request'

export function getAll(params) {
    return request({
        url: '/pay/getList',
        method: 'get',
        params
    })
}

export function deleteById(params) {
  console.log("this is api ",params)
  return request({
    url:'/pay/deleteById',
    method: 'get',
    params
  })
}

export function deleteByIds(data) {
  return request({
    url:'/pay/deleteBatch',
    method: 'post',
    data
  })


}
export function getPoList(data) {
  return request({
    url:'/po/list',
    method: 'get',
    data
  })
}
export function updateFinishFlag(params){
  return request({
    url:'/pay/updateFinishFlag',
    method: 'get',
    params
  })
}

